<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">

    {if $account_show }
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('公司名称')}</label>
        <div class="layui-input-inline">
            <select name="account_id" lay-search class="layui-select" lay-filter="account_search">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $account_arr as $id => $name}
                <option value="{$id}">{$name}.</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('店铺')}</label>
        <div class="layui-input-inline">
            <select class="layui-select shop_search" name="shop_id" >

                {foreach $shop_arr as $k=>$v}

                <option value="{$k}">{$v}</option>

                {/foreach}
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库公司')}</label>
        <div class="layui-input-inline">
            <select class="layui-select" name="relation_account_id" lay-filter="shop">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $relation_account_arr as $k=>$v}

                <option value="{$k}">{$v}</option>

                {/foreach}
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库')}</label>
        <div class="layui-input-inline">
            <select name="warehouse_id" lay-search class="layui-select warehouse">

                <option value=''>-- {:lang('全部')} --</option>

            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <input type="hidden" name="type" value="{$type|default='index'}">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
        <button class="layui-btn layui-btn-primary reset" type="reset"> {:lang('重置')}</button>
    </div>
</form>